public class CPU {

    int speed; //定义CPU的速度

    void setSpeed(int m){

        speed=m;

    }

    public int getSpeed(){

        return speed;

    }

}